﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using MES.DataGateway.SyncInterface;
using MES.DataGateway.SyncEntity;
using MES.DataGateway.StandardEntity;

namespace MES.DataGateway.StandardDataSync
{
    public class CommonObject : SyncInfterface
    {
        protected TreeView trvMes = new TreeView();
        protected TreeView trvEnterprise = new TreeView();
        protected List<OutInfoEntity> m_OutParameterObjectList = new List<OutInfoEntity>();
        protected ServiceEntity m_ServiceInfoEntity = null;
        protected OutInfoEntity m_OutParameterObject = null;
        private string m_SyncType = "1";
        private string m_ProjectID = "";
        private string m_LibID = "";
        private string m_DataFilePath = "";
        private string m_AccessoriesPath = "";

        #region 属性
        public string SyncType
        {
            get { return m_SyncType; }
            set { m_SyncType = value; }
        }

        public OutInfoEntity OutParameterObject
        {
            get { return m_OutParameterObject; }
        }

        public List<OutInfoEntity> OutParameterObjectList
        {
            get { return m_OutParameterObjectList; }
        }

        public string AccessoriesPath
        {
            set { m_AccessoriesPath = value; }
        }

        public ServiceEntity ServiceInfoEntity
        {
            get { return m_ServiceInfoEntity; }
            set { m_ServiceInfoEntity = value; }
        }

        public string ProjectID
        {
            get { return m_ProjectID; }
            set { m_ProjectID = value; }
        }

        public string LibID
        {
            get { return m_LibID; }
            set { m_LibID = value; }
        }

        public string DataFilePath
        {
            get { return m_DataFilePath; }
            set { m_DataFilePath = value; }
        }
        #endregion

        #region SyncInfterface 成员

        void SyncInfterface.Execute()
        {
            throw new NotImplementedException();
        }

        void SyncInfterface.ShowAttribute()
        {
            throw new NotImplementedException();
        }
        #endregion

    }
}
